using TestWebApi.Models.MySql;

namespace TestWebApi.IServices;

public interface IDataService
{
    /// <summary>
    /// get_mysql_data(使用sqlsugar)
    /// </summary>
    /// <param name="connectionName"></param>
    /// <param name="tableName"></param>
    /// <param name="startTime"></param>
    /// <param name="endTime"></param>
    /// <returns></returns>
    List<DefaultModel> GetMySqlData(string connectionName,string tableName,DateTime startTime,DateTime endTime);
    List<dynamic> GetMySqlDataByDynamic(string connectionName,string tableName,DateTime startTime,DateTime endTime);
        
}